<!DOCTYPE html>
<html>
	<head>
		<meta charset='utf-8' />
		<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
		<title>OpenEnow.JS</title>
		<link rel='stylesheet' href='./openEnow.css' type='text/css'/>
	</head>
	<body>
		<center style="border-radius:10px;width:640px;height:360px;overflow:hidden;border:2px solid #65ad57;">
			<div id="enow-show" align=left></div>
		</center>
		
		<table width="640px">
			<tr>
				<td align="left"><a id="left-hand" href="javascript:void(0);">< BACK</a></td>
				<td align="right"><a id="right-hand" href="javascript:void(0);">NEXT ></a></a></td>
			</tr>
		</table>
		
		
		<script src="./openEnow.js"></script>
		<script>
			var en = new ENOW();
			en.CONFIG({
				"slides":"./courseware/Slides/",
				"resources":"./courseware/Resources/",
				"name":"综合练习5",
				"container":"enow-show"
			});
			var pg = 0;
			//en.Xml2Html(en.GetSlideSource("Slide_" + pg + ".xml"));
			en.display(pg);
			
			var l = document.getElementById("left-hand");
			var r = document.getElementById("right-hand");
			
			l.onclick = function() {
				if(pg > 0) {
					pg -= 1;
					en.display(pg);
				}
				else{return;}
			}
			r.onclick = function() {
				pg += 1;
				en.display(pg);
			}
		</script>
		
		
		
		<!--配置说明-->
		<br><br><br>
		<b>如何配置？</b><br>
		首先用unzip.py或解压工具，将enbx文件中的resources、slides目录复制到指定路径<br>
		再更改index.html中的en.CONFIG函数传递的配置信息，通过字典传递，其中slides、resources表示两目录的相对路径<br>
		<br><br>
		<b>如何使用？</b><br>
		该项目需要静态服务器（XMLHttpRequest）<br>
		<br><br>
		<b>目前支持显示的课件组件</b><br>
		·&nbsp;普通文本<br>
		·&nbsp;图片<br>
		·&nbsp;音频<br>
		·&nbsp;视频<br>
	</body>
</html>